var express = require('express');
var router = express.Router();

router.get('/', function(req, res, next) {
  // 权限验证
  if(req.session.power > 0){
    res.render('order', {
      index:4,
      power: req.session.power
    });
  }else{
    res.render('nopower');
  }
});

module.exports = router;
